package cn.com.zero.front.auth.po;

import cn.com.zero.base.po.BasePO;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 用户实名信息
 * @createTime 2023/3/29 16:47
 */
@ApiModel(value = "AuthenticationInfoPO对象", description = "用户实名信息")
public class AuthenticationInfoPO extends BasePO {

    private static final long serialVersionUID = 6361519661426725139L;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 真实姓名(密文)
     */
    @JsonIgnore
    private String realName;

    /**
     * 展示用真实姓名
     */
    @ApiModelProperty(value = "展示用真实姓名")
    private String showRealName;

    /**
     * 证件类型 1：身份证
     */
    @ApiModelProperty(value = "证件类型 1：身份证")
    private Integer cardType;

    /**
     * 证件号码
     */
    @JsonIgnore
    private String cardNo;

    /**
     * 显示证件号码
     */
    @ApiModelProperty(value = "显示证件号码")
    private String showCardNo;

    /**
     * 证件照(正面)地址
     */
    @ApiModelProperty(value = "证件照(正面)地址")
    private String frontDocument;

    /**
     * 证件照(反面)地址
     */
    @ApiModelProperty(value = "证件照(反面)地址")
    private String backDocument;

    /**
     * 证件照(手持)地址
     */
    @ApiModelProperty(value = "证件照(手持)地址")
    private String handDocument;

    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    private Date validity;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getShowRealName() {
        return showRealName;
    }

    public void setShowRealName(String showRealName) {
        this.showRealName = showRealName;
    }

    public Integer getCardType() {
        return cardType;
    }

    public void setCardType(Integer cardType) {
        this.cardType = cardType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getShowCardNo() {
        return showCardNo;
    }

    public void setShowCardNo(String showCardNo) {
        this.showCardNo = showCardNo;
    }

    public String getFrontDocument() {
        return frontDocument;
    }

    public void setFrontDocument(String frontDocument) {
        this.frontDocument = frontDocument;
    }

    public String getBackDocument() {
        return backDocument;
    }

    public void setBackDocument(String backDocument) {
        this.backDocument = backDocument;
    }

    public String getHandDocument() {
        return handDocument;
    }

    public void setHandDocument(String handDocument) {
        this.handDocument = handDocument;
    }

    public Date getValidity() {
        return validity;
    }

    public void setValidity(Date validity) {
        this.validity = validity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
